package com.vivo.org.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.vivo.org.entity.OrgUser;

@Repository
public interface OrgUserDao {
	
	public int create(OrgUser user);
	
	public int update(OrgUser user);
	
	public int updatePwd(@Param("userId") String userId,@Param("loginPwd") String loginPwd);
	
	public int delete(String userId);
	
	public OrgUser findOrgUser(String userId);
	
	
	public List<OrgUser> findOrgUsers(@Param("keyword") String keyword,@Param("orgId") String orgId,@Param("deptId") String deptId);
}
